package com.xyoto.community.service;

import com.xyoto.community.po.QuestionCommentReplyPo;
import com.xyoto.community.dto.SaveQuestionCommentReplyDTO;
import com.xyoto.community.utils.Result;

import java.util.List;

/**
 * ClassName:   问答评论回复service接口
 * Author:      挽风
 * Date:        2020
 * Copyright:   2020 by 挽风1.0版本
 * Description:
 **/
public interface QuestionCommentReplyService {

    /**
     * 查询问答评论回复列表
     *
     * @param id 问答父级评论id
     *
     * @return 回复list
     */
    List<QuestionCommentReplyPo> getQuestionCommentReply(Integer id);

    /**
     * 新增问答评论回复
     * @param replyDTO
     * @return
     */
    Result saveQuestionCommentReply(SaveQuestionCommentReplyDTO replyDTO);

    /**
     * 删除问答评论回复
     * @param questionCommentReplyId 问答评论回复id
     * @return
     */
    Result removeQuestionCommentReply(Integer questionCommentReplyId);


}
